package com.sky.service.impl;

import com.sky.entity.Customer;
import com.sky.entity.OrderRoom;
import com.sky.mapper.CustomerMapper;
import com.sky.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    private CustomerMapper customerMapper;
    public void register(Customer customer) {
        customerMapper.register(customer);

    }

    public void order(OrderRoom orderRoom) {
        customerMapper.order(orderRoom);
    }
}
